﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Configuration;

namespace IPConverter
{
    public partial class ParentForm : Form
    {
        protected System.Configuration.Configuration config;
        public ParentForm()
        {
            InitializeComponent();
            config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
        }

        protected string GetConfig(string key)
        {
            return config.AppSettings.Settings[key].Value;
        }
    }
}
